package com.hbyj.hbm.vo;

import java.util.HashSet;
import java.util.Set;

/**
 * DepartmentCategory entity. @author MyEclipse Persistence Tools
 */

public class DepartmentCategory implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Set departmentses = new HashSet(0);

	// Constructors

	/** default constructor */
	public DepartmentCategory() {
	}

	/** minimal constructor */
	public DepartmentCategory(Integer id, String name) {
		this.id = id;
		this.name = name;
	}

	/** full constructor */
	public DepartmentCategory(Integer id, String name, Set departmentses) {
		this.id = id;
		this.name = name;
		this.departmentses = departmentses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getDepartmentses() {
		return this.departmentses;
	}

	public void setDepartmentses(Set departmentses) {
		this.departmentses = departmentses;
	}

}